//
//  AddMapTableViewCell.m
//  ShangAPP
//
//  Created by macpro on 16/1/23.
//  Copyright © 2016年 wangdao. All rights reserved.
//

#import "AddMapTableViewCell.h"
#import "MyTools.h"
@implementation AddMapTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self viewCreate];
    }
    return self;
}

-(void)viewCreate{
    //50
    
    _namelab = [[UILabel alloc]initWithFrame:CGRectMake(5, 5, 50, 20)];
    _namelab.textColor = UIColorFromRGB(0xc5242a);
    _namelab.font = [UIFont systemFontOfSize:14];
    [self addSubview:_namelab];
    
    _phoneNum = [[UILabel alloc]initWithFrame:CGRectMake(55, 5, 100, 20)];
    _phoneNum.text = @"1383838338";
    _phoneNum.textColor = UIColorFromRGB(0xc5242a);
    _phoneNum.font = [UIFont systemFontOfSize:14];
    [self addSubview:_phoneNum];
    
    _address = [[UILabel alloc]initWithFrame:CGRectMake(150, 0, 100, 40)];
    _address.textColor = UIColorFromRGB(0x666666);
    _address.font = [UIFont systemFontOfSize:11];
    _address.numberOfLines=0;
    [self addSubview:_address];
    
    _otherLab = [[UILabel alloc]initWithFrame:CGRectMake(WIDTH-60, 5, 60, 20)];
    _otherLab.text = @"100M";
    _otherLab.textColor = UIColorFromRGB(0x333333);
    _otherLab.font = [UIFont systemFontOfSize:14];
    [self addSubview:_otherLab];
    
       
    
    
    
}



@end
